import { postMethod, getMethod } from "../../../../../utils/http";

export async function getList() {
    return await postMethod(`xyxy/wxapp/web/schoolCard/carrierList`, {});
}


export async function add(data = {}) {
    return await postMethod(`xyxy/wxapp/web/schoolCard/carrierSave`, {
        params: {
            ...data,
        }
    });
}

export async function queryItem(id) {
    return await postMethod(`xyxy/wxapp/web/schoolCard/carrierDetail?id=${id}`, {});
}

export async function edit(params) {
    return await postMethod(`xyxy/wxapp/web/schoolCard/carrierEdit`, {
        params,
    });
}
// 置顶卡 -(删)
export async function del(id) {
    return await postMethod(`xyxy/wxapp/web/schoolCard/carrierDel?id=${id}`, {

    });
}

// 

